<!DOCTYPE html>
<html lang="en">
<head>
    <!--<link rel="stylesheet" type="text/css" href="AppStore/Public/bootstrap/css/bootstrap.min.css"/>-->
    <meta charset="UTF-8">
    <title>添加视频</title>
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <script src="__PUBLIC__/bootstrap/js/jquery.min.js" type="text/javascript"></script>
    <script src="__PUBLIC__/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

</head>

<body>
<!--自动接收updateUserInfo方法传来的User变量-->
<h1 align="center">添加视频信息</h1>
<div class="container">
    <form class="form-horizontal" method="post" enctype="multipart/form-data" action="addVideoInfo" >
        <!--隐藏id-->
        <input type="hidden" name="vid" value="{$video.vid}">
        <div class="form-group ">
            <label for="videoname" class="col-md-3 control-label">视频名称</label>
            <div class="col-md-7">
                <input type="text" class="form-control" id="videoname"
                       name="videoname" placeholder="videoname" >

            </div>
        </div>

        <div class="form-group">
            <label for="uploadadmin" class="col-md-3 control-label">上传用户</label>
            <div class="col-md-3">
                <input type="text" class="form-control" id="uploadadmin"
                       name="uploadadmin" placeholder="uploadadmin">

            </div>
        </div>

        <div class="form-group">
            <label for="videotype" class="col-md-3 control-label">视频类型</label>
            <div class="col-md-3">
                <select class="form-control" name="videotype" id="videotype">
                    <option selected="selected" value="0">请选择</option>
                    <while ($row=mysql_fetch_assoc($result)<option value='.$i.'>.$row['typename']
                    </while>
                    </option>

                </select>
            </div>
        </div>

        <!--<div class="form-group">-->
            <!--<label for="videotype" class="col-md-3 control-label">视频类型</label>-->
            <!--<div class="col-md-3">-->
                <!--<select class="form-control" name="videotype" id="videotype">-->
                    <!--<option selected="selected" value="0">请选择</option>-->
                    <!--<?php-->
		    	<!--$i=1;-->
				<!--while ($row=mysql_fetch_assoc($result)) {-->
				<!--echo '<option value='.$i.'>'.$row['yjjtypename'].'</option>';-->
                    <!--$i++;-->
                    <!--/*<option value="2">动画</option>-->
                    <!--<option value="3">电视剧</option>-->
                    <!--<option value="4">MV</option>*/-->
                    <!--?>-->
                <!--</select>-->
            <!--</div>-->
        <!--</div>-->

        <div class="form-group">
            <label for="photo" class="col-md-3 control-label">宣传海报</label>
            <div class="col-md-7">
                <input type="file" name="photo" id="photo"/>
            </div>
        </div>

        <div class="form-group">
            <label for="inputintro" class="col-md-3 control-label">电影简介</label>
            <div class="col-md-7">
                <textarea name="intro" class="form-control" placeholder="input Intro" id="inputintro" rows="3"></textarea>
            </div>
        </div>

        <div class="form-group">
            <label for="isfirst" class="col-md-3 control-label">首页推荐</label>
            <div class="col-md-7">
                <label class="radio-inline" >
                    <input type="radio" name="isfirst" id="isfirst" value="1">是
                </label>
                <label class="radio-inline">
                    <input type="radio" name="isfirst" id="isfirst2" value="0" checked>否
                </label>
            </div>
        </div>

        <div class="form-group">
            <label for="address" class="col-md-3 control-label">下载地址</label>
            <div class="col-md-7">
                <input type="URL" name="address"  id="address" class="form-control" placeholder="input address">
            </div>
        </div>


        <div class="form-group">
            <div class="col-sm-offset-3 col-sm-7">
                <input class="btn btn-default" type="submit" value="提交">
                <input class="btn btn-default" type="reset" value="重置">
            </div>
        </div>

        <!--<div class="form-group">-->
            <!--<label for="state" class="col-md-3 control-label">状态</label>-->
            <!--<div class="col-md-3">-->
                <!--<select class="form-control" name="state" id="state">-->
                    <!--<option value="0">禁用</option>-->
                    <!--<option value="1" selected>普通</option>-->
                    <!--<option value="2">禁言</option>-->
                <!--</select>-->
            <!--</div>-->
        <!--</div>-->

    </form>
</div>
</body>
</html>
